package com.yykj.base.server.model.repository;

import com.yykj.base.server.model.entity.WordDictionary;
import org.springframework.data.jpa.repository.JpaRepository;
import org.springframework.stereotype.Repository;

import java.util.List;

@Repository
public interface WordDictionaryRepository extends JpaRepository<WordDictionary,Integer> {

    List<WordDictionary> findAllByZiIn(List<String> word);

    WordDictionary findFirstByWubi(String word);
}
